package com.ruoyi.common.enums;

/**
 * 用户状态
 * 
 * @author ruoyi
 */
public enum OrderStatus
{

    //0 未付费，1已付费，2未付费取消，3已付费取消，4已开始，5已完成
    NOTPAY("0", "未付费"),
    HADPAY("1", "已付费"),
    NOTPAYCANCEL("2", "未付费取消"),
    HADPAYCANCEL("3", "已付费取消"),

    HADSTART("4", "已开始"),
    HADFINISH("5", "已完成");


    private final String code;
    private final String info;

    OrderStatus(String code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public String getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }
}
